package com.fund.common.enums;


import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;

@Getter
@AllArgsConstructor
public enum RiskLevel implements BaseEnum{
    LOW(1,"低"),
    MEDIUM(2,"中"),
    HIGH(3,"高");

    @JsonValue
    @EnumValue
    private final Integer value;

    private final String desc;


}
